JBoss Community Archive (Read Only)

Mobicents

SNMP Adaptor Notifications configuration File

It is located at $JBOSS_SNMP_ADAPTOR/META-INF/notifications.xml and controls the mapping of JMX notifications onto SNMP traps. The key for the mapping is considered to be the notification type as defined in the subscriptions list of the SNMP Adaptor JBoss Service configuration file.

For generic SNMPv1 traps, Enterprise field contains value of sysObjectID  of the device that sends trap. For vendor specific traps, Generic trap type field is set to enterpriseSpecific(6

Each mapping entry must specify :

Note : The below attributes generic, specific and enterprise varies depending on the version of the protocol namely - v1 and v2. For v1, . For v2 and v3, It is essentially a concatenation of the enterprise parameter and two additional sub-identifiers, '0' (so make sure to set generic as 0 here), and the specific trap code parameter

Tag

Description

n:message 

javax.management.Notification.getMessage()

n:sequenceNumber 

javax.management.Notification.getSequenceNumber() 

n:timeStamp 

javax.management.Notification.getTimestamp() 

n:type 

javax.management.Notification.getType() 

n:all 

javax.management.Notification.toString() 

n:class 

javax.management.Notification.getClass().getName() 

a:startTime 

snmp agent/adaptor start time 

a:uptime 

snmp agent/adaptor up time 

a:trapCount 

snmp agent/adaptor trap count 

u:<user-defined-tag>

looked-up in n.getUserData() 

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-11 11:41:58 UTC, last content change 2011-07-12 12:36:56 UTC.